package cn.yunyichina.provider.clinic.payrefund.entity;

import java.io.Serializable;


public class PayWechat extends Pay implements Serializable {

	
	private static final long serialVersionUID = -1787003794660738083L;

	private String parentAppId;

	
	private String parentSecret;

	
	private String mchOpenId;


	private String subMchId;

	
	private String spbillCreateIp;


	private String secret;

	
	private String prepayId;


	private String paySign;

	
	private String timeStamp;

	
	private String signType = "MD5";

	
	private String nonceStr;


	private String dealWithUrl;


	private String failUrl;

	
	private String attach;

	
	private boolean payFlag = false;


	private Integer payState = 0;

	
	private String tradeType = "JSAPI";

	public PayWechat() {
		super();
	}

	public PayWechat(String appId, String openId, String mchOpenId, String mchId, String subMchId, String key, String totalFee, String outTradeNo,
			String body, String spbillCreateIp, String secret, String prepayId, String paySign, String timeStamp, String signType, String nonceStr,
			String dealWithUrl, String successUrl, String failUrl, String infoUrl, String afterPayUrl, String attach, String payRemark,
			boolean payFlag, Integer payState, String returnMsg, Integer onlinePaymentControl, Long payTimeoutTime) {
		super();
		this.appId = appId;
		this.openId = openId;
		this.mchOpenId = mchOpenId;
		this.mchId = mchId;
		this.subMchId = subMchId;
		this.key = key;
		this.totalFee = totalFee;
		this.orderNo = outTradeNo;
		this.spbillCreateIp = spbillCreateIp;
		this.secret = secret;
		this.prepayId = prepayId;
		this.paySign = paySign;
		this.timeStamp = timeStamp;
		this.signType = signType;
		this.nonceStr = nonceStr;
		this.dealWithUrl = dealWithUrl;
		this.successUrl = successUrl;
		this.failUrl = failUrl;
		this.infoUrl = infoUrl;
		this.afterPayUrl = afterPayUrl;
		this.attach = attach;
		this.payRemark = payRemark;
		this.payFlag = payFlag;
		this.payState = payState;
		this.returnMsg = returnMsg;
		this.onlinePaymentControl = onlinePaymentControl;
		this.payTimeoutTime = payTimeoutTime;
	}

	public String getParentAppId() {
		return parentAppId;
	}

	public void setParentAppId(String parentAppId) {
		this.parentAppId = parentAppId;
	}

	public String getParentSecret() {
		return parentSecret;
	}

	public void setParentSecret(String parentSecret) {
		this.parentSecret = parentSecret;
	}

	public String getMchOpenId() {
		return mchOpenId;
	}

	public void setMchOpenId(String mchOpenId) {
		this.mchOpenId = mchOpenId;
	}

	public String getSubMchId() {
		return subMchId;
	}

	public void setSubMchId(String subMchId) {
		this.subMchId = subMchId;
	}

	public String getSpbillCreateIp() {
		return spbillCreateIp;
	}

	public void setSpbillCreateIp(String spbillCreateIp) {
		this.spbillCreateIp = spbillCreateIp;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public String getPaySign() {
		return paySign;
	}

	public void setPaySign(String paySign) {
		this.paySign = paySign;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getDealWithUrl() {
		return dealWithUrl;
	}

	public void setDealWithUrl(String dealWithUrl) {
		this.dealWithUrl = dealWithUrl;
	}

	public String getFailUrl() {
		return failUrl;
	}

	public void setFailUrl(String failUrl) {
		this.failUrl = failUrl;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public boolean isPayFlag() {
		return payFlag;
	}

	public void setPayFlag(boolean payFlag) {
		this.payFlag = payFlag;
	}

	public Integer getPayState() {
		return payState;
	}

	public void setPayState(Integer payState) {
		this.payState = payState;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

}
